package org.xb.decoupling;

public class ClassA  implements InterfaceA{

    @Override
    public void doSomething() {
        // 通过接口调用，不直接依赖具体实现类
        InterfaceB interfaceB = new ClassB();
        interfaceB.doSomething("2323");
    }
}
